<?php
use doumiaoduo\layer\LayerConfirmWidget;
use doumiaoduo\layer\LayerIframeWidget;
LayerConfirmWidget::widget();
LayerIframeWidget::widget();
?>
<div class="yx-praise-list-box yx-praise-box yx-radius2 zx-min-height">
    <!--/*添加按钮*/-->
    <?= $this->renderFile('@app/views/layouts/toolbar.php'); ?>
    <!--/*搜索*/-->
    <div id="search-area" class="yx-bgf7f7f7 yx-radius5 zx-mg yx-function2 yx-pr0">
        <?=\common\components\helpers\Search::dropDownList('searchWay',null,[null=>'请选择',1=>'合作中',2=>'已结束',3=>'未开始'],['label'=>'合作状态','promote'=>'请选择','class'=>'search diy_select_txt'])?>
        <?=\common\components\helpers\Search::dropDownList('is_delete',null,[null=>'请选择',0=>'正常',1=>'回收站'],['label'=>'记录状态','promote'=>'请选择','class'=>'search diy_select_txt'])?>
        <?= \common\components\helpers\Search::textInput('regist_name', null, ['label'=>'注册名称','class' => 'search yx-width150 zx-lh24 yx-ml6']); ?>
        <?= \common\components\helpers\Search::textInput('name', null, ['label'=>'别名','class' => 'search yx-input-text zx-width150 yx-ml6']); ?>
        <?= \common\components\helpers\Search::button('搜索', ['id'=>'search-handle','class'=>"yx-search yx-radius2"]); ?>
    </div>
    <!--/*tree*/-->
    <div class="tab-pane active zx-mg-mechanic">
        <table class="example-advanced tablesaw table yx-table1 yx-table3 table-striped with-check treetable" data-tablesaw-mode="swipe" data-tablesaw-minimap data-treeField="name">
            <thead>
            <tr class="yx-bgd2f6ec">
                <th scope="treetable-number"></th>
                <th scope="regist_name"><?=\Yii::t('zhtfrontend','注册名称');?></th>
                <th scope="name"><?=\Yii::t('zhtfrontend','公司别名');?></th>
                <th scope="teacher_count"><?=\Yii::t('zhtfrontend','老师人数');?></th>
                <th scope="course_count"><?=\Yii::t('zhtfrontend','课程数量');?></th>
                <th scope="contacts"><?=\Yii::t('zhtfrontend','联系人');?></th>
                <th scope="telephone"><?=\Yii::t('zhtfrontend','联系电话');?></th>
                <th scope="created_at"><?=\Yii::t('zhtfrontend','创建时间');?></th>
                <th scope="status"><?=\Yii::t('zhtfrontend','合作状态');?></th>
                <th scope="region"><?=\Yii::t('zhtfrontend','区域');?></th>
                <?php if($mode=='A'){?>
                <th scope="enrollment"><?=\Yii::t('zhtfrontend','招生人数');?></th>
                <?php } ?>
                <th scope="zhtfrontend_operate"><?=\Yii::t('zhtfrontend','操作');?></th>
            </tr>
            </thead>
        </table>
    </div>
</div>
<?= $this->renderFile('@zhtfrontend/views/layouts/script_tree.php'); ?>
